<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>MongoInt32 类</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mongobindata.tostring.html">MongoBinData::__toString</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mongoint32.construct.html">MongoInt32::__construct</a></div>
 <div class="up"><a href="mongo.types.html">Types</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.mongoint32" class="reference">

 <h1 class="title">MongoInt32 类</h1>
 

 <div class="partintro"><p class="verinfo">(PECL mongo &gt;=1.0.9)</p>


  <div class="section" id="mongoint32.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    这个类可以在一个 64 位的操作系统上将 32 位的 integer 保存到数据库。
   </p>
  </div>


  <div class="section" id="mongoint32.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">MongoInt32</strong>
     </span>
     {</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 字段 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
     <span class="type">string</span>
      <var class="varname"><a href="class.mongoint32.html#mongoint32.props.value">$<var class="varname">value</var></a></var>
    ;</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="mongoint32.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="mongoint32.tostring.html" class="methodname">__toString</a></span>
    ( <span class="methodparam">void</span>
   )</div>

   }</div>


  </div>

  <div class="section">
   <h2 class="title">字段</h2>
   <dl>

    
     <dt id="mongoint32.props.value"><var class="varname"><var class="varname">value</var></var></dt>

     <dd>

      <span class="simpara">
       This is the string value of the 64-bit number.  例如，123 的值应该是 &quot;123&quot;。
      </span>
     </dd>

    
   </dl>

  </div>

 </div>

 



















<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="mongoint32.construct.html">MongoInt32::__construct</a> — 创建一个新的 32位 integer。</li><li><a href="mongoint32.tostring.html">MongoInt32::__toString</a> — 返回该 32 位 integer 的字符串表示。</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mongobindata.tostring.html">MongoBinData::__toString</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mongoint32.construct.html">MongoInt32::__construct</a></div>
 <div class="up"><a href="mongo.types.html">Types</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
